package com.smartfactory.sail.mapper;

import com.smartfactory.sail.entity.DeviceMaintenance;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 设备保养记录表 Mapper 接口
 * </p>
 *
 * @author 王巨壁
 * @since 2019-08-14
 */
@Mapper
public interface DeviceMaintenanceMapper extends BaseMapper<DeviceMaintenance> {

    //获取本周故障率设备数量
    Integer getDeviceMaintenanceNum();

    //获取本周保养数量
    Integer getMaintenanceNum();
}
